import axios from "@/utils/axios";
export default{
    getonline: (data) => axios.post("/Competes/selectAllOnlineByType",data),
    delonline:(id)=>axios.delete(`/Competes/deleteOnline/${id}`),
    updateonline:(data)=>axios.put("/Competes/updateCompeteOnline",data),
    addonline:(data)=>axios.post('/Competes/addOnline',data)
}